﻿//-----------------------------------------------------------------------------------------//
//-     Writen by Raymond Honderdors
//-     2013-05-14
//-
//-     Code can be used as is, no warrenty
//-     https://solutionmanagementki.codeplex.com/
//-----------------------------------------------------------------------------------------//
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.AnalysisServices;
namespace SMK_SSAS
{
    /// <summary>
    /// 
    /// </summary>
    public class AMO_SessionData
    {
        /// <summary>
        /// 
        /// </summary>
        public string SESSION_ID = string.Empty;
        /// <summary>
        /// 
        /// </summary>
        public string SESSION_USER_NAME = string.Empty;
        /// <summary>
        /// 
        /// </summary>
        public string SESSION_CONNECTION_ID = string.Empty;
        /// <summary>
        /// 
        /// </summary>
        public int SESSION_STATUS = -1;
        /// <summary>
        /// 
        /// </summary>
        public string SESSION_CURRENT_DATABASE = string.Empty;
        /// <summary>
        /// 
        /// </summary>
        public int SESSION_USED_MEMORY = -1;
        /// <summary>
        /// 
        /// </summary>
        public DateTime SESSION_START_TIME;
        /// <summary>
        /// 
        /// </summary>
        public DateTime SESSION_LAST_COMMAND_START_TIME;
        /// <summary>
        /// 
        /// </summary>
        public string SESSION_LAST_COMMAND = string.Empty;
        /// <summary>
        /// 
        /// </summary>
        public string Query = string.Empty;
        /// <summary>
        /// 
        /// </summary>
        public string SESSION_SPID = string.Empty;
    }
}
